package com.gufe.controller.admin.school;

import com.gufe.result.PageResult;
import com.gufe.result.Result;
import com.gufe.service.admin.school.MemberInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
@RequestMapping("/admin/school")
public class MemberInfoController {

    @Autowired
    private MemberInfoService memberInfoService;


    /**
     * 分页条件查询全校信息
     * @return
     */
    @GetMapping("/page")
    public Result getMemberInfo() {
        log.info("分页条件查询全校学校数据...");
        // TODO 继续完善分页查询
        return Result.success();
    }
}
